gtk4.git
12 years agoAdd various tests for stock widgets
Matthias Clasen [Mon, 7 Oct 2013 22:19:16 +0000 (18:19 -0400)]
Add various tests for stock widgets

This test demonstrates that various deprecated ways
to construct buttons and menuitems still work as they
are supposed to, including always-show-image functionality.

12 years agoAnother forgotten a11y header
Matthias Clasen [Mon, 7 Oct 2013 20:43:11 +0000 (16:43 -0400)]
Another forgotten a11y header

12 years agorange: start autoscrolling near the edges of ranges
William Jon McCann [Mon, 7 Oct 2013 16:01:13 +0000 (12:01 -0400)]
range: start autoscrolling near the edges of ranges

If a range goes all the way to the edge of the screen then we don't
have any way to activate autoscrolling. By adding a small region
at the ends of the range we can handle this case. This is the same
approach used in treeviews.

12 years agoMake gtk-demo use the newer app icon
Jasper St. Pierre [Mon, 7 Oct 2013 20:28:04 +0000 (16:28 -0400)]
Make gtk-demo use the newer app icon

12 years agoInstall flowbox a11y headers
Matthias Clasen [Mon, 7 Oct 2013 20:29:11 +0000 (16:29 -0400)]
Install flowbox a11y headers

Pointed out by Jasper St. Pierre.

12 years agoUpdated POTFILES.in
Piotr Drąg [Mon, 7 Oct 2013 20:22:01 +0000 (22:22 +0200)]
Updated POTFILES.in

12 years agobroadway: Don't bother memdup-ing
Jasper St. Pierre [Thu, 26 Sep 2013 18:09:35 +0000 (14:09 -0400)]
broadway: Don't bother memdup-ing

If we're going to run off the end due to an invalid message,
we're going to run off the end. We'll protect this by doing
proper bounds checking in the future, but the malloc gives
us nothing for now.

12 years agobroadway: Use a binary protocol to send to the server
Jasper St. Pierre [Thu, 26 Sep 2013 16:21:08 +0000 (12:21 -0400)]
broadway: Use a binary protocol to send to the server

This makes the protocol easier to inspect over the wire and makes all
commands fixed-length.

12 years agobroadway: Remove authentication support
Jasper St. Pierre [Thu, 26 Sep 2013 18:04:34 +0000 (14:04 -0400)]
broadway: Remove authentication support

12 years agobroadway: Remove support for old browsers
Jasper St. Pierre [Wed, 25 Sep 2013 15:59:40 +0000 (11:59 -0400)]
broadway: Remove support for old browsers

Require binary array buffers and modern WebSocket protocol support.

12 years agoUpdate Arabic translation
Khaled Hosny [Mon, 7 Oct 2013 15:07:13 +0000 (17:07 +0200)]
Update Arabic translation

12 years agoSome updates
Matthias Clasen [Mon, 7 Oct 2013 13:05:43 +0000 (09:05 -0400)]
Some updates

12 years agoTajik translation updated
Victor Ibragimov [Mon, 7 Oct 2013 10:15:06 +0000 (15:15 +0500)]
Tajik translation updated

12 years agoUpdate Visual Studio Property Sheets
Chun-wei Fan [Mon, 7 Oct 2013 05:00:14 +0000 (13:00 +0800)]
Update Visual Studio Property Sheets

"Install" the GtkFlowBox headers

12 years agoVisual Studio 2010 Property Sheets: Cosmetics
Chun-wei Fan [Mon, 7 Oct 2013 04:55:35 +0000 (12:55 +0800)]
Visual Studio 2010 Property Sheets: Cosmetics

Make each file entry of non-autotools-completed .vcxproj.filters to be on
one line only, for consistency reasons.

12 years agoUpdate gtk3-demo Visual Studio Projects
Chun-wei Fan [Mon, 7 Oct 2013 04:17:04 +0000 (12:17 +0800)]
Update gtk3-demo Visual Studio Projects

Build the recently-introduced flowbox.c demo into the gtk3-demo demo
program.

12 years agogtk/gtkflowbox: Fix build warning/error
Chun-wei Fan [Mon, 7 Oct 2013 04:00:30 +0000 (12:00 +0800)]
gtk/gtkflowbox: Fix build warning/error

The newly-added gtk_flow_box_child_is_selected() needed to return a
gboolean, so use g_return_val_if_fail() to return FALSE when an invalid
GtkFlowBoxChild* is passed in.

12 years agoCosmetics
Matthias Clasen [Mon, 7 Oct 2013 04:05:47 +0000 (00:05 -0400)]
Cosmetics

Make the gtk-demo listbox example follow others in window
title style.

12 years agoAdd a flow box example to gtk-demo
Matthias Clasen [Mon, 7 Oct 2013 04:05:21 +0000 (00:05 -0400)]
Add a flow box example to gtk-demo

12 years agoTweak flowbox selection behaviour
Matthias Clasen [Mon, 7 Oct 2013 03:15:27 +0000 (23:15 -0400)]
Tweak flowbox selection behaviour

Make flowbox selection more orthodox. Control and Shift now
modify the selection behaviour pretty much in the same way
they do in a tree view, and clicking without modifiers will
clear the selection.

When dealing with touch devices, we treat modifier-less events
as modifying the selection.

This commit also adds a few other selection necessities, such
as catching Escape key presses to cancel rubberband selection,
and handling grab notify.

12 years agoMake resetting a filter work properly
Matthias Clasen [Tue, 1 Oct 2013 01:57:41 +0000 (21:57 -0400)]
Make resetting a filter work properly

We need to make sure all children are marked as child-visible
again when the filter func is reset.

12 years agoFix wording in the docs
Matthias Clasen [Tue, 1 Oct 2013 00:57:43 +0000 (20:57 -0400)]
Fix wording in the docs

12 years agoAdd GtkFlowBox
Matthias Clasen [Sun, 29 Sep 2013 17:43:27 +0000 (13:43 -0400)]
Add GtkFlowBox

GtkFlowBox is a container that its children in a reflowing
grid, which can be oriented horizontally or vertically.

It is similar to GtkListBox in that the children can
be sorted and filtered, and by requiring a dedicated child
widget type, GtkFlowBoxChild. It is similar to GtkTreeView
in that is supports a full set of selection modes, including
rubberband selection.

This is the culmination of work that has happened in the
egg-list-box module, and earlier in libegg. The origins of
this code are the EggSpreadTable in libegg, which was written
by Tristan van Berkom. It was moved to egg-list-box and
renamed EggFlowBox by Jon McCann, and I gave it some finishing
touched in the flowbox-improvements branch of that module.

12 years agowidget-factory: Remove accel-groups
Benjamin Otte [Sun, 6 Oct 2013 20:20:55 +0000 (22:20 +0200)]
widget-factory: Remove accel-groups

GtkMenuItem doesn't have accel groups anymore.

12 years agoPopulate GtkPlacesSidebar at initialization
John Lindgren [Sun, 6 Oct 2013 17:58:00 +0000 (17:58 +0000)]
Populate GtkPlacesSidebar at initialization

Previously, the "Places" sidebar was populated by the update_places()
call from within gtk_places_sidebar_style_set(). After
742a2f11a95a1e9ce56fe1a628743c7e8add8a57, update_places() is never called
and the sidebar is never populated unless gtk_places_sidebar_add_shortcut()
happens to be called. This commit fixes this by calling update_places()
at the end of gtk_places_sidebar_init().

https://bugzilla.gnome.org/show_bug.cgi?id=709522

12 years agoFix generation of plug/socket docs
Matthias Clasen [Sun, 6 Oct 2013 19:49:00 +0000 (15:49 -0400)]
Fix generation of plug/socket docs

The docs for GtkPlug/GtkSocket were not generated if any
of the win32, quartz, wayland backends were enabled. What
we really mean though, is that we want the docs to be generated
whenever GtkPlug/GtkSocket are included in the library, which
is when the x11 backend is enabled.

12 years agoFix build with explicit --enable-wayland-backend
Matthias Clasen [Sun, 6 Oct 2013 19:32:18 +0000 (15:32 -0400)]
Fix build with explicit --enable-wayland-backend

We forgot to set set WAYLAND_SCANNER in this case.

12 years agoconfigure: Make Wayland backend optional
Matthias Clasen [Sun, 6 Oct 2013 19:13:48 +0000 (15:13 -0400)]
configure: Make Wayland backend optional

As long as we are not ready to switch over the default backend,
arrange ./configure without explicit backend options makes the
x11 backend mandatory and the wayland backend optional (depending
on whether we find Wayland dependencies).

http://bugzilla.gnome.org/show_bug.cgi?id=709212

12 years agoRemove opacity-groups
Alexander Larsson [Thu, 4 Jul 2013 11:41:00 +0000 (11:41 +0000)]
Remove opacity-groups

GtkWidget had a hack where if opacity is 0.999 we set up an opacity group when
rendering the widget. This is no longer needed in 3.10, and GtkStack doesn't
use it anymore.

GdStack is using it, so applications should be ported from GdStack to GtkStack
in 3.12.

https://bugzilla.gnome.org/show_bug.cgi?id=703603

12 years agoa11y: Drop obsolete focus tab handling in notebooks
Matthias Clasen [Wed, 13 Feb 2013 03:36:20 +0000 (22:36 -0500)]
a11y: Drop obsolete focus tab handling in notebooks

GtkNotebook lost the concept of a separate 'focus tab' ages ago.
Time for the accessible implementation to follow suit.

https://bugzilla.gnome.org/show_bug.cgi?id=693586

12 years agoRemove unused function
Timothy Arceri [Thu, 3 Oct 2013 21:37:48 +0000 (07:37 +1000)]
Remove unused function

https://bugzilla.gnome.org/show_bug.cgi?id=586107
Signed-off-by: Timothy Arceri <t_arceri@yahoo.com.au>
12 years agoRemove a bunch of unused variables.
Timothy Arceri [Thu, 3 Oct 2013 21:36:24 +0000 (07:36 +1000)]
Remove a bunch of unused variables.

https://bugzilla.gnome.org/show_bug.cgi?id=586107
Signed-off-by: Timothy Arceri <t_arceri@yahoo.com.au>
12 years agoDont set enum to NULL fixes build issues on Solaris 10
Timothy Arceri [Thu, 3 Oct 2013 21:21:55 +0000 (07:21 +1000)]
Dont set enum to NULL fixes build issues on Solaris 10

https://bugzilla.gnome.org/show_bug.cgi?id=586107
Signed-off-by: Timothy Arceri <t_arceri@yahoo.com.au>
12 years agoReorder message in configure.ac to display result on the same line
Timothy Arceri [Sat, 28 Sep 2013 23:18:38 +0000 (09:18 +1000)]
Reorder message in configure.ac to display result on the same line

https://bugzilla.gnome.org/show_bug.cgi?id=341146

Signed-off-by: Timothy Arceri <t_arceri@yahoo.com.au>
12 years agoAdjust expected output of a11y tests
Matthias Clasen [Sun, 6 Oct 2013 05:12:42 +0000 (01:12 -0400)]
Adjust expected output of a11y tests

This is belatedly updating the tests after
5315661721137c1f195fa88c2bf12f1a3e32ecfa

12 years agocsd: Keep a maximized flag
Matthias Clasen [Sun, 6 Oct 2013 04:41:27 +0000 (00:41 -0400)]
csd: Keep a maximized flag

This mirrors what we do for fullscreen and tiled.

12 years agocsd: add style classes for tiled and maximized
Matthias Clasen [Sun, 6 Oct 2013 04:35:05 +0000 (00:35 -0400)]
csd: add style classes for tiled and maximized

This lets us change the border radius when the window is
in one of these states.

https://bugzilla.gnome.org/show_bug.cgi?id=709215

12 years agoGtkWindow: Override gtk_container_remove ()
Kjell Ahlstedt [Thu, 3 Oct 2013 17:07:37 +0000 (19:07 +0200)]
GtkWindow: Override gtk_container_remove ()

Check which child is being removed, title_box or the GtkBin child.

https://bugzilla.gnome.org/show_bug.cgi?id=709049

12 years agocsd: properly check titlebar visibility
Matthias Clasen [Sun, 6 Oct 2013 03:17:02 +0000 (23:17 -0400)]
csd: properly check titlebar visibility

Now that we are using child-visible to hide titlebars, we need to
adjust the visibility checks in various places to take it into account.

https://bugzilla.gnome.org/show_bug.cgi?id=709323

12 years agoFix dark theme issues in the print dialog
Matthias Clasen [Sun, 6 Oct 2013 03:02:54 +0000 (23:02 -0400)]
Fix dark theme issues in the print dialog

The dimensions in the n-up illustration were not using the
color of the style for drawing.

https://bugzilla.gnome.org/show_bug.cgi?id=709420

12 years agoicontheme: Use gdk_rgba_to_string()
Benjamin Otte [Sat, 5 Oct 2013 19:31:33 +0000 (21:31 +0200)]
icontheme: Use gdk_rgba_to_string()

This gives us valid CSS. And now that librsvg parses valid CSS, that's a
fine thing to use.

And it fixes the problem where %g is locale-dependent.

12 years agocontainer: Deprecate resize mode
Benjamin Otte [Sat, 5 Oct 2013 12:57:53 +0000 (14:57 +0200)]
container: Deprecate resize mode

Resize modes don't work anymore, both because nobody ever uses them and
because the frame clock changed the way things work quite a bit. So we
don't want to advertise them as a good idea.

https://bugzilla.gnome.org/show_bug.cgi?id=708787

12 years agotestgtk: Remove idle test
Benjamin Otte [Sat, 5 Oct 2013 12:57:24 +0000 (14:57 +0200)]
testgtk: Remove idle test

The test is broken, written like it's 1999 and testing a feature that
I'm about to deprecate.

12 years agoreftests: Add a test for the symbolic color fix
Benjamin Otte [Sat, 5 Oct 2013 11:57:29 +0000 (13:57 +0200)]
reftests: Add a test for the symbolic color fix

12 years agoicontheme: Use rgba() when loading symbolic icons
Benjamin Otte [Sat, 5 Oct 2013 11:53:25 +0000 (13:53 +0200)]
icontheme: Use rgba() when loading symbolic icons

This way, we correctly pass on translucency information. Note: This
currently requires librsvg master.

12 years agostylecontext: Deprecate gtk_style_context_invalidate()
Benjamin Otte [Tue, 1 Oct 2013 13:09:20 +0000 (15:09 +0200)]
stylecontext: Deprecate gtk_style_context_invalidate()

Everything is invalidated automatically these days.

12 years agotests: Don't call gtk_style_context_invalidate()
Benjamin Otte [Tue, 1 Oct 2013 13:08:55 +0000 (15:08 +0200)]
tests: Don't call gtk_style_context_invalidate()

It's not needed anymore.

12 years agotexthandle: Use the parent widget's style context
Benjamin Otte [Tue, 1 Oct 2013 13:08:30 +0000 (15:08 +0200)]
texthandle: Use the parent widget's style context

... instead of creating our own.

12 years agotestsuite: Remove extra calls to gtk_style_context_invalidate()
Benjamin Otte [Tue, 1 Oct 2013 13:03:45 +0000 (15:03 +0200)]
testsuite: Remove extra calls to gtk_style_context_invalidate()

They aren't needed anymore.

12 years agoImprove doc of gtk_style_context_invalidate()
Sébastien Wilmet [Sat, 28 Sep 2013 14:19:07 +0000 (16:19 +0200)]
Improve doc of gtk_style_context_invalidate()

https://bugzilla.gnome.org/show_bug.cgi?id=708583

12 years agonotebook: inform the theme to draw borders when requested
William Jon McCann [Fri, 4 Oct 2013 22:01:31 +0000 (18:01 -0400)]
notebook: inform the theme to draw borders when requested

When the show-border property is TRUE ask the theme to draw
borders on the notebook header.

12 years agonotebook: add style classes for orientation to the header
William Jon McCann [Fri, 4 Oct 2013 21:53:55 +0000 (17:53 -0400)]
notebook: add style classes for orientation to the header

12 years agonotebook: correctly define the header region
William Jon McCann [Fri, 4 Oct 2013 21:34:48 +0000 (17:34 -0400)]
notebook: correctly define the header region

Correctly define the header region to only be the area under the
tabs.

12 years agoplaces sidebar: Small cleanup
Debarshi Ray [Thu, 3 Oct 2013 16:30:39 +0000 (18:30 +0200)]
places sidebar: Small cleanup

12 years agogtk_list_box_set_focus: Handle ist_box == NULL
Timm Bäder [Thu, 3 Oct 2013 12:00:30 +0000 (14:00 +0200)]
gtk_list_box_set_focus: Handle ist_box == NULL

Rows without a parent GtkListBox can happen in Glade and its previewer.

12 years agogengir_gtk.bat: Correctly handle time_t
Chun-wei Fan [Thu, 3 Oct 2013 09:24:17 +0000 (17:24 +0800)]
gengir_gtk.bat: Correctly handle time_t

...on x64 Windows/MSVC builds.  This is because time_t is a long long on
x64 arch on Windows.

12 years agoiconhelper: Fix leak when rendering to cairo surface
Bastien Nocera [Wed, 2 Oct 2013 13:33:20 +0000 (15:33 +0200)]
iconhelper: Fix leak when rendering to cairo surface

https://bugzilla.gnome.org/show_bug.cgi?id=709264

12 years agoiconhelper: Use g_clear_* helpers
Bastien Nocera [Wed, 2 Oct 2013 13:06:36 +0000 (15:06 +0200)]
iconhelper: Use g_clear_* helpers

https://bugzilla.gnome.org/show_bug.cgi?id=709264

12 years agoicon-theme: Fix 2 memory leaks in GtkIconInfo
Bastien Nocera [Wed, 2 Oct 2013 12:30:14 +0000 (14:30 +0200)]
icon-theme: Fix 2 memory leaks in GtkIconInfo

https://bugzilla.gnome.org/show_bug.cgi?id=709264

12 years agoicon-theme: Use g_clear_* helpers in finalize
Bastien Nocera [Wed, 2 Oct 2013 12:28:00 +0000 (14:28 +0200)]
icon-theme: Use g_clear_* helpers in finalize

https://bugzilla.gnome.org/show_bug.cgi?id=709264

12 years agonotebook: Add a style property for whether to draw a tab gap
William Jon McCann [Mon, 30 Sep 2013 22:57:58 +0000 (18:57 -0400)]
notebook: Add a style property for whether to draw a tab gap

Add a has-tab-gap style property to GtkNotebook so that we can
disable drawing the gap between tabs and the page in the Adwaita
theme without breaking existing themes.

https://bugzilla.gnome.org/show_bug.cgi?id=707920

12 years agonotebook: Fix rounding error in vertical alignment of arrow
William Jon McCann [Wed, 7 Aug 2013 11:01:34 +0000 (13:01 +0200)]
notebook: Fix rounding error in vertical alignment of arrow

https://bugzilla.gnome.org/show_bug.cgi?id=707920

12 years agonotebook: Make notebook scroll arrows honor initial gap setting
William Jon McCann [Tue, 6 Aug 2013 08:35:38 +0000 (10:35 +0200)]
notebook: Make notebook scroll arrows honor initial gap setting

So that they can be styled so they are not right on the edge.

https://bugzilla.gnome.org/show_bug.cgi?id=707920

12 years agonotebook: Improve the style of the default arrows
William Jon McCann [Mon, 5 Aug 2013 14:37:39 +0000 (16:37 +0200)]
notebook: Improve the style of the default arrows

https://bugzilla.gnome.org/show_bug.cgi?id=707920

12 years agonotebook: Use initial-gap on both edges of the tab header
William Jon McCann [Mon, 5 Aug 2013 10:32:44 +0000 (12:32 +0200)]
notebook: Use initial-gap on both edges of the tab header

https://bugzilla.gnome.org/show_bug.cgi?id=707920

12 years agodemo: Show popup menu on tabs
William Jon McCann [Mon, 5 Aug 2013 14:07:40 +0000 (16:07 +0200)]
demo: Show popup menu on tabs

https://bugzilla.gnome.org/show_bug.cgi?id=707920

12 years agoGtkTextView: Fix horizontal scrolling
Alexander Larsson [Wed, 2 Oct 2013 14:21:10 +0000 (16:21 +0200)]
GtkTextView: Fix horizontal scrolling

We didn't properly invalidate when scrolling horizontally.

https://bugzilla.gnome.org/show_bug.cgi?id=708019

12 years agoGtkTextView: Fix regression in GtkSourceView drawing
Alexander Larsson [Wed, 2 Oct 2013 13:14:56 +0000 (15:14 +0200)]
GtkTextView: Fix regression in GtkSourceView drawing

GtkSourceView draws before chaining upo to GtkTextView and assumes
that this will be visible, but the pixelcache will just overdraw
that with background.

So, we stop drawing the background to the pixel cache and instead
make it an CAIRO_CONTENT_COLOR_ALPHA surface to make the previously
drawn content see through.

This is slower, but more backwards compatible.

https://bugzilla.gnome.org/show_bug.cgi?id=708423

12 years agoUpdated Latvian translatio
Rūdolfs Mazurs [Wed, 2 Oct 2013 08:49:19 +0000 (11:49 +0300)]
Updated Latvian translatio

12 years agoUpdated Latvian translatio
Rūdolfs Mazurs [Wed, 2 Oct 2013 08:48:03 +0000 (11:48 +0300)]
Updated Latvian translatio

12 years agoUpdated Danish translation
Kenneth Nielsen [Tue, 1 Oct 2013 17:10:54 +0000 (19:10 +0200)]
Updated Danish translation

12 years agoaction-namespace example: use non-deprecated function
Ryan Lortie [Tue, 1 Oct 2013 13:36:23 +0000 (09:36 -0400)]
action-namespace example: use non-deprecated function

g_simple_action_group_add_entries() is deprecated since we added the GActionMap
interface, so use its equivalent function instead.

12 years agoImprove gtk_container_add docs
Matthias Clasen [Tue, 1 Oct 2013 00:53:19 +0000 (20:53 -0400)]
Improve gtk_container_add docs

Mention that some containers add intermediate children automatically.

12 years agoMake it possible to hide custom titlebars
Matthias Clasen [Mon, 30 Sep 2013 23:26:07 +0000 (19:26 -0400)]
Make it possible to hide custom titlebars

Previously, we were showing and hiding the custom titlebar
widget in response to state changes such as maximization.
Instead, use gtk_widget_set_child_visible() and leave
show/hide to applications. This makes it possible to set
a custom titlebar and hide it, for a titlebar-less appearance.

https://bugzilla.gnome.org/show_bug.cgi?id=707132

12 years agoFix typo in gtk-win32-base.css
William Jon McCann [Mon, 30 Sep 2013 22:23:22 +0000 (18:23 -0400)]
Fix typo in gtk-win32-base.css

12 years agoicontheme: use g_file_load_contents() for symbolic icons
Cosimo Cecchi [Sun, 29 Sep 2013 22:38:54 +0000 (15:38 -0700)]
icontheme: use g_file_load_contents() for symbolic icons

When loading a symbolic icon, g_file_get_contents() is currently used
with the icon pathname, to load its SVG data. This won't work when the
icon is not a local file, for instance when a symbolic icon is loaded
from a GFileIcon with a GResource path.
Fortunately GtkIconInfo already holds a GFile, so we can just use
g_file_load_contents() to load the data instead.

https://bugzilla.gnome.org/show_bug.cgi?id=709056

12 years agogtk-doc fixup for gtk_widget_class_bind_template_child_full()
Tristan Van Berkom [Mon, 19 Aug 2013 18:03:45 +0000 (20:03 +0200)]
gtk-doc fixup for gtk_widget_class_bind_template_child_full()

Updated documentation to specify that '0' should be specified if
one does not need to automatically assign a bound child to a public
or private instance member (now that negative values are private
structure offsets).

12 years agoGtkTreeViewColumn: start padding at 0
Ryan Lortie [Thu, 26 Sep 2013 17:37:46 +0000 (13:37 -0400)]
GtkTreeViewColumn: start padding at 0

If we start with a padding of -1 then it can leak out of the size
allocation request for the column when the treeview is empty.  The
GtkTreeView will then collect these -1 values and add them together,
returning -n where 'n' is the number of columns.

This is usually not a problem because treeviews tend to be used with a
scrollbar and the width of the scrollbar will be added to this number
bringing it into positive territory again.  On Ubuntu, with overlay
scrollbars, this is not the case, however.

https://bugzilla.gnome.org/show_bug.cgi?id=703062

12 years agoUpdate Dutch translation 3.10
Hannie Dumoleyn [Mon, 30 Sep 2013 09:52:21 +0000 (11:52 +0200)]
Update Dutch translation 3.10

12 years agoRevert "shooter: Use the reftests code for taking screenshots"
Matthias Clasen [Mon, 30 Sep 2013 01:59:22 +0000 (21:59 -0400)]
Revert "shooter: Use the reftests code for taking screenshots"

This reverts commit 5c926ca6bb1259d5ad152dda13e43b2a8536150f.

This commit just dropped the nice shadow that we used to have
around these shots, without a justification.

12 years agoRevert "shooter: Make sure to free the surface"
Matthias Clasen [Mon, 30 Sep 2013 01:59:05 +0000 (21:59 -0400)]
Revert "shooter: Make sure to free the surface"

This reverts commit 1a0c5acb26bee3df52b75cf34b95c4d93810f3b7.

12 years agoUpdated Slovenian translation
Matej Urbančič [Sun, 29 Sep 2013 11:26:55 +0000 (13:26 +0200)]
Updated Slovenian translation

12 years agoBug 467720 - Useless use of const qualifier
Behdad Esfahbod [Sat, 28 Sep 2013 18:14:31 +0000 (14:14 -0400)]
Bug 467720 - Useless use of const qualifier

12 years agoBug 651224 - Potential NULL display ptr from quartz gtk_clipboard_wait_for_contents
John Ralls [Sat, 28 Sep 2013 17:55:22 +0000 (10:55 -0700)]
Bug 651224 - Potential NULL display ptr from quartz gtk_clipboard_wait_for_contents

12 years agoClarify Cursor Theme GDK Warning
John Ralls [Sun, 16 Jun 2013 16:51:04 +0000 (12:51 -0400)]
Clarify Cursor Theme GDK Warning

12 years agoMore formatting style adjustments
Matthias Clasen [Sat, 28 Sep 2013 02:00:38 +0000 (22:00 -0400)]
More formatting style adjustments

Lose a whole bunch of unnecessary 'real', shortening
excessively long function names.

12 years agoSome coding style improvements
Matthias Clasen [Sat, 28 Sep 2013 01:39:10 +0000 (21:39 -0400)]
Some coding style improvements

Use g_return_if_fail in GTK+ style in all public APIs,
avoid dereferencing variables early, shorten some
function names.

12 years agoTrivial: remove an unused declaration
Matthias Clasen [Sat, 28 Sep 2013 00:31:24 +0000 (20:31 -0400)]
Trivial: remove an unused declaration

_gtk_list_box_accessible_update_selected is not used and
does not exist.

12 years agoFix possible crash in header bar
Bastien Nocera [Fri, 27 Sep 2013 15:06:01 +0000 (17:06 +0200)]
Fix possible crash in header bar

When the header bar's top-level widget is not a GtkWindow,
don't try to get the inexistant "decoration-button-layout"
property.

12 years agocsd: Avoid jumping windows
Matthias Clasen [Fri, 27 Sep 2013 03:19:29 +0000 (23:19 -0400)]
csd: Avoid jumping windows

The size of the shadow and invisible borders can (and usually
will) change between backdrop and focused windows, while the
overall window size remains unchanged. This causes the visible
window to visually 'jump'. We can avoid this by always reserving
the maximum of the focused and unfocused border sizes. The code
for positioning the input-only windows making up the invisible
border is adjusted to deal with this. We now always place the
invisible border right outside the visible content, even if the
shadow extends out much farther.

https://bugzilla.gnome.org/show_bug.cgi?id=707524

12 years agonotebook: render a frame and background in the header
Cosimo Cecchi [Sat, 5 Mar 2011 08:03:45 +0000 (03:03 -0500)]
notebook: render a frame and background in the header

And use the "header" style class to do that.
This allows themes to set e.g. the background of the tab header
differently.

Themes will need slight adjustment to make things appear
as before.

https://bugzilla.gnome.org/show_bug.cgi?id=643914

12 years agoAllow active tab children to be styled
Cosimo Cecchi [Mon, 5 Aug 2013 09:17:08 +0000 (11:17 +0200)]
Allow active tab children to be styled

This allows one to style the children of an active
tab label from CSS.

https://bugzilla.gnome.org/show_bug.cgi?id=691163

12 years agoTrivial: correct vfunc signatures
Matthias Clasen [Thu, 26 Sep 2013 23:12:58 +0000 (19:12 -0400)]
Trivial: correct vfunc signatures

Harmless confusion between gint and gboolean
https://bugzilla.gnome.org/show_bug.cgi?id=697031

12 years agoGdkWindowX11: Prevent non renderered window to be display by the compositor
Lionel Landwerlin [Thu, 13 Jun 2013 15:36:56 +0000 (16:36 +0100)]
GdkWindowX11: Prevent non renderered window to be display by the compositor

When mapping a window for the first time, make sure the compositor
won't display it until we're done painting.

https://bugzilla.gnome.org/show_bug.cgi?id=702196

12 years agoGtkTextView: add create_buffer virtual method pointer
Sébastien Wilmet [Wed, 12 Jun 2013 11:27:17 +0000 (13:27 +0200)]
GtkTextView: add create_buffer virtual method pointer

This allows subclasses of GtkTextView that require a corresponding
subclass of GtkTextBuffer to automatically do the right thing when
constructed with a NULL buffer. An example of this is GtkSourceView
which requires a GtkSourceBuffer.

https://bugzilla.gnome.org/show_bug.cgi?id=708584

12 years agoUpdate Demos Visual Studio Projects
Chun-wei Fan [Thu, 26 Sep 2013 11:50:56 +0000 (19:50 +0800)]
Update Demos Visual Studio Projects

Improve optimization, by re-enabling WholeProgramOptimization but changing
the linker optimization to not drop items that are not referenced in code
(such as compiled gresource sources that are not directly referenced in
code, as they are still needed for the demos to run properly).

12 years agoFixups to GtkStack
Matthias Clasen [Thu, 26 Sep 2013 03:52:39 +0000 (23:52 -0400)]
Fixups to GtkStack

The GtkStack and GtkStackSwitcher code did not really
follow GTK+ conventions for includes. Fix that, and also
fix up a case of gpointer vs gpointer* confusion
in gtkstack.c.

12 years agoUse a stack in GtkAboutDialog
Matthias Clasen [Thu, 26 Sep 2013 03:50:51 +0000 (23:50 -0400)]
Use a stack in GtkAboutDialog

This lets us slide the credits and license sections up and down,
instead of just popping them into existence abruptly.

12 years agoTest new transition types
Matthias Clasen [Sat, 31 Aug 2013 15:59:19 +0000 (11:59 -0400)]
Test new transition types

We should make teststack pick up new transitions automatically.
For now, we have to add them manually.

https://bugzilla.gnome.org/show_bug.cgi?id=707187

12 years agoGtkStack: Add more transition types
Matthias Clasen [Sat, 31 Aug 2013 16:00:47 +0000 (12:00 -0400)]
GtkStack: Add more transition types

This adds new 'over' and 'under' transitions which work by moving
the new page over the previous one, or moving the previous page off
to reveal the new one. We also add an over/under combination that
is going to be used in GtkAboutDialog.

https://bugzilla.gnome.org/show_bug.cgi?id=707187